package com.sxf.auth.login.vo;

import com.sxf.auth.enums.UserTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class AutoRegisterReq {
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String userName;

    /**
     * 用户手机号
     */
    @ApiModelProperty(value = "手机号/联系电话")
    private String userMobile;

    /**
     * password
     */
    private String password;
    
    /**
     * 创建人主键
     */
    private String creator;
    
    /**
     * 创建人姓名
     */
    private String creatorName;
    @ApiModelProperty("1：账号密码登录，2：手机验证码登录")
    @NotNull(message = "登录类型不能为空")
    private String loginType;

    @ApiModelProperty(value = UserTypeEnum.DESC, required = true)
    private String userType;

}
